home *** CD-ROM | disk | FTP | other *** search
- Path: usenet.ins.cwru.edu!ukma!usenet
- From: mgwill1@nx03.mik.uky.edu (matthew williams)
- Newsgroups: comp.sys.amiga.programmer
- Subject: Re: HUGE executable in g++
- Date: 12 Jan 1996 11:58:06 GMT
- Organization: University of Kentucky, Dept. of Math Sciences
- Message-ID: <4d5ice$bdb@t3.mscf.uky.edu>
- References: <DKyHo0.IFL@cyf-kr.edu.pl>
- NNTP-Posting-Host: 128.163.117.3
-
- In article <DKyHo0.IFL@cyf-kr.edu.pl> iskra@student.uci.agh.edu.pl (Kamil
- Iskra) writes:
- > matthew williams (mgwill1@mik.uky.edu) wrote:
- > > The file produced by that is 541k (which is better but not good) and
- >
- > Try to use -s options, which strips symbolic information.
- >
- > Post output produced by -v option, which gives kind of log of G++
- activities.
- >
- okay here it is:
- gcc -v -noixemul ff64.cc -o ff64 -s -lstdc++
- Reading specs from /gnu/lib/gcc-lib/mc68020-cbm-amigados/2.7.0/specs
- gcc version 2.7.0
- /gnu/lib/gcc-lib/mc68020-cbm-amigados/2.7.0/cpp -lang-c++ -v -undef
- -D__GNUC__=2 -D__GNUG__=2 -D__cplusplus -D__GNUC_MINOR__=7 -Dmc68000
- -Damiga -Damigados -DMCH_AMIGA -DAMIGA -D__mc68000__ -D__amiga__
- -D__amigados__ -D__MCH_AMIGA__ -D__AMIGA__ -D__mc68000 -D__amiga
- -D__amigados -D__MCH_AMIGA -D__AMIGA -Asystem(amigados) -Acpu(m68k)
- -Amachine(m68k) -Dmc68010 ff64.cc /t/cc050672.ii
- GNU CPP version 2.7.0 (68k, MIT syntax)
- #include "..." search starts here:
- #include <...> search starts here:
- /gnu/lib/g++-include
- /gnu/local/include
- /gnu/mc68020-cbm-amigados/include
- /gnu/lib/gcc-lib/mc68020-cbm-amigados/2.7.0/include
- /gnu/os-include
- /gnu/include
- End of search list.
- /gnu/lib/gcc-lib/mc68020-cbm-amigados/2.7.0/cc1plus /t/cc050672.ii -quiet
- -dumpbase ff64.cc -version -o /t/cc050672.s
- GNU C++ version 2.7.0 (68k, MIT syntax) compiled by GNU C version 2.7.0.
- as -mc68010 -o /t/cc0506721.o /t/cc050672.s
- ld -shortdata -fl libnix -o ff64 -s /gnu/lib/libnix/ncrt0.o
- -L/gnu/lib/gcc-lib/mc68020-cbm-amigados/2.7.0
- -L/local/lib/gcc-lib/mc68020-cbm-amigados/2.7.0 -L/gnu/lib -L/local/lib
- -L/local/lib /t/cc0506721.o -lstdc++ -lgcc -lnixmain -lnix -lamiga -lgcc
- -lstubs
-
- I hope someone can tell me from that why my 10k source compiles into
- 1.4mb!
-
-